493dd6a960bdf8e7e404199310a37569eac2c923,src/org/lwjgl/demo/vulkan/ColoredTriangleDemo.java,ColoredTriangleDemo,createPipeline,#VkDevice#number#VkPipelineVertexInputStateCreateInfo#,883

Before Change


        // Describes blend modes and color masks
        // We don't use any in this demo
        VkPipelineColorBlendStateCreateInfo colorBlendState = VkPipelineColorBlendStateCreateInfo.calloc()
                .sType(VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO)
                .attachmentCount(0)
                .pAttachments(null);

        // Viewport state
        VkPipelineViewportStateCreateInfo viewportState = VkPipelineViewportStateCreateInfo.calloc()

After Change


        // Describes blend modes and color masks
        // We don't use any in this demo
        VkPipelineColorBlendStateCreateInfo colorBlendState = VkPipelineColorBlendStateCreateInfo.calloc()
                .sType(VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO)
                .pAttachments(null);

        // Viewport state
        VkPipelineViewportStateCreateInfo viewportState = VkPipelineViewportStateCreateInfo.calloc()